<?php echo $this->Html->link('Agregar Articulos', array('controller' => 'Articles', 'action' => 'add')); ?>

<table>
    <tr>
        <th>Codigo</th>
        <th>Descripcion</th>
    </tr>


    <?php foreach ($articles as $articles): ?>
    <tr>
        <td><?php echo $articles['Article']['codigo']; ?></td>
        <td>
            <?php echo $this->Html->link($articles['Article']['descripcion'],
array('controller' => 'Articles', 'action' => 'view', $articles['Article']['id'])); ?>
        </td>
        <td>
            <?php echo $this->Html->link('Edit', array('action' => 'edit', $articles['Article']['id'])); ?>
        </td>

    </tr>
    <?php endforeach; ?>
    <?php //unset($situacion); ?>
</table>